'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_MSMQ = 0x0E (14)
    Public NotInheritable Class MSMQ
        Private Sub New()
        End Sub

        Public Shared ReadOnly MQ_ERROR As HResult = &HC00E0001
        Public Shared ReadOnly MQ_INFORMATION_PROPERTY As HResult = &H400E0001
        Public Shared ReadOnly MQ_ERROR_PROPERTY As HResult = &HC00E0002
        Public Shared ReadOnly MQ_INFORMATION_ILLEGAL_PROPERTY As HResult = &H400E0002
        Public Shared ReadOnly MQ_ERROR_QUEUE_NOT_FOUND As HResult = &HC00E0003
        Public Shared ReadOnly MQ_INFORMATION_PROPERTY_IGNORED As HResult = &H400E0003
        Public Shared ReadOnly MQ_ERROR_QUEUE_NOT_ACTIVE As HResult = &HC00E0004
        Public Shared ReadOnly MQ_INFORMATION_UNSUPPORTED_PROPERTY As HResult = &H400E0004
        Public Shared ReadOnly MQ_ERROR_QUEUE_EXISTS As HResult = &HC00E0005
        Public Shared ReadOnly MQ_INFORMATION_DUPLICATE_PROPERTY As HResult = &H400E0005
        Public Shared ReadOnly MQ_ERROR_INVALID_PARAMETER As HResult = &HC00E0006
        Public Shared ReadOnly MQ_INFORMATION_OPERATION_PENDING As HResult = &H400E0006
        Public Shared ReadOnly MQ_ERROR_INVALID_HANDLE As HResult = &HC00E0007
        Public Shared ReadOnly MQ_ERROR_OPERATION_CANCELLED As HResult = &HC00E0008
        Public Shared ReadOnly MQ_ERROR_SHARING_VIOLATION As HResult = &HC00E0009
        Public Shared ReadOnly MQ_INFORMATION_FORMATNAME_BUFFER_TOO_SMALL As HResult = &H400E0009
        Public Shared ReadOnly MQ_INFORMATION_INTERNAL_USER_CERT_EXIST As HResult = &H400E000A
        Public Shared ReadOnly MQ_ERROR_SERVICE_NOT_AVAILABLE As HResult = &HC00E000B
        Public Shared ReadOnly MQ_INFORMATION_OWNER_IGNORED As HResult = &H400E000B
        Public Shared ReadOnly MQ_ERROR_MACHINE_NOT_FOUND As HResult = &HC00E000D
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_SORT As HResult = &HC00E0010
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_USER As HResult = &HC00E0011
        Public Shared ReadOnly MQ_ERROR_NO_DS As HResult = &HC00E0013
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_QUEUE_PATHNAME As HResult = &HC00E0014
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_PROPERTY_VALUE As HResult = &HC00E0018
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_PROPERTY_VT As HResult = &HC00E0019
        Public Shared ReadOnly MQ_ERROR_BUFFER_OVERFLOW As HResult = &HC00E001A
        Public Shared ReadOnly MQ_ERROR_IO_TIMEOUT As HResult = &HC00E001B
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_CURSOR_ACTION As HResult = &HC00E001C
        Public Shared ReadOnly MQ_ERROR_MESSAGE_ALREADY_RECEIVED As HResult = &HC00E001D
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_FORMATNAME As HResult = &HC00E001E
        Public Shared ReadOnly MQ_ERROR_FORMATNAME_BUFFER_TOO_SMALL As HResult = &HC00E001F
        Public Shared ReadOnly MQ_ERROR_UNSUPPORTED_FORMATNAME_OPERATION As HResult = &HC00E0020
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_SECURITY_DESCRIPTOR As HResult = &HC00E0021
        Public Shared ReadOnly MQ_ERROR_SENDERID_BUFFER_TOO_SMALL As HResult = &HC00E0022
        Public Shared ReadOnly MQ_ERROR_SECURITY_DESCRIPTOR_TOO_SMALL As HResult = &HC00E0023
        Public Shared ReadOnly MQ_ERROR_CANNOT_IMPERSONATE_CLIENT As HResult = &HC00E0024
        Public Shared ReadOnly MQ_ERROR_ACCESS_DENIED As HResult = &HC00E0025
        Public Shared ReadOnly MQ_ERROR_PRIVILEGE_NOT_HELD As HResult = &HC00E0026
        Public Shared ReadOnly MQ_ERROR_INSUFFICIENT_RESOURCES As HResult = &HC00E0027
        Public Shared ReadOnly MQ_ERROR_USER_BUFFER_TOO_SMALL As HResult = &HC00E0028
        Public Shared ReadOnly MQ_ERROR_MESSAGE_STORAGE_FAILED As HResult = &HC00E002A
        Public Shared ReadOnly MQ_ERROR_SENDER_CERT_BUFFER_TOO_SMALL As HResult = &HC00E002B
        Public Shared ReadOnly MQ_ERROR_INVALID_CERTIFICATE As HResult = &HC00E002C
        Public Shared ReadOnly MQ_ERROR_CORRUPTED_INTERNAL_CERTIFICATE As HResult = &HC00E002D
        Public Shared ReadOnly MQ_ERROR_INTERNAL_USER_CERT_EXIST As HResult = &HC00E002E
        Public Shared ReadOnly MQ_ERROR_NO_INTERNAL_USER_CERT As HResult = &HC00E002F
        Public Shared ReadOnly MQ_ERROR_CORRUPTED_SECURITY_DATA As HResult = &HC00E0030
        Public Shared ReadOnly MQ_ERROR_CORRUPTED_PERSONAL_CERT_STORE As HResult = &HC00E0031
        Public Shared ReadOnly MQ_ERROR_COMPUTER_DOES_NOT_SUPPORT_ENCRYPTION As HResult = &HC00E0033
        Public Shared ReadOnly MQ_ERROR_BAD_SECURITY_CONTEXT As HResult = &HC00E0035
        Public Shared ReadOnly MQ_ERROR_COULD_NOT_GET_USER_SID As HResult = &HC00E0036
        Public Shared ReadOnly MQ_ERROR_COULD_NOT_GET_ACCOUNT_INFO As HResult = &HC00E0037
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_MQCOLUMNS As HResult = &HC00E0038
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_PROPID As HResult = &HC00E0039
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_RELATION As HResult = &HC00E003A
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_PROPERTY_SIZE As HResult = &HC00E003B
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_RESTRICTION_PROPID As HResult = &HC00E003C
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_MQQUEUEPROPS As HResult = &HC00E003D
        Public Shared ReadOnly MQ_ERROR_PROPERTY_NOTALLOWED As HResult = &HC00E003E
        Public Shared ReadOnly MQ_ERROR_INSUFFICIENT_PROPERTIES As HResult = &HC00E003F
        Public Shared ReadOnly MQ_ERROR_MACHINE_EXISTS As HResult = &HC00E0040
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_MQQMPROPS As HResult = &HC00E0041
        Public Shared ReadOnly MQ_ERROR_DS_IS_FULL As HResult = &HC00E0042
        Public Shared ReadOnly MQ_ERROR_DS_ERROR As HResult = &HC00E0043
        Public Shared ReadOnly MQ_ERROR_INVALID_OWNER As HResult = &HC00E0044
        Public Shared ReadOnly MQ_ERROR_UNSUPPORTED_ACCESS_MODE As HResult = &HC00E0045
        Public Shared ReadOnly MQ_ERROR_RESULT_BUFFER_TOO_SMALL As HResult = &HC00E0046
        Public Shared ReadOnly MQ_ERROR_DELETE_CN_IN_USE As HResult = &HC00E0048
        Public Shared ReadOnly MQ_ERROR_NO_RESPONSE_FROM_OBJECT_SERVER As HResult = &HC00E0049
        Public Shared ReadOnly MQ_ERROR_OBJECT_SERVER_NOT_AVAILABLE As HResult = &HC00E004A
        Public Shared ReadOnly MQ_ERROR_QUEUE_NOT_AVAILABLE As HResult = &HC00E004B
        Public Shared ReadOnly MQ_ERROR_DTC_CONNECT As HResult = &HC00E004C
        Public Shared ReadOnly MQ_ERROR_TRANSACTION_IMPORT As HResult = &HC00E004E
        Public Shared ReadOnly MQ_ERROR_TRANSACTION_USAGE As HResult = &HC00E0050
        Public Shared ReadOnly MQ_ERROR_TRANSACTION_SEQUENCE As HResult = &HC00E0051
        Public Shared ReadOnly MQ_ERROR_MISSING_CONNECTOR_TYPE As HResult = &HC00E0055
        Public Shared ReadOnly MQ_ERROR_STALE_HANDLE As HResult = &HC00E0056
        Public Shared ReadOnly MQ_ERROR_TRANSACTION_ENLIST As HResult = &HC00E0058
        Public Shared ReadOnly MQ_ERROR_QUEUE_DELETED As HResult = &HC00E005A
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_CONTEXT As HResult = &HC00E005B
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_SORT_PROPID As HResult = &HC00E005C
        Public Shared ReadOnly MQ_ERROR_LABEL_TOO_LONG As HResult = &HC00E005D
        Public Shared ReadOnly MQ_ERROR_LABEL_BUFFER_TOO_SMALL As HResult = &HC00E005E
        Public Shared ReadOnly MQ_ERROR_MQIS_SERVER_EMPTY As HResult = &HC00E005F
        Public Shared ReadOnly MQ_ERROR_MQIS_READONLY_MODE As HResult = &HC00E0060
        Public Shared ReadOnly MQ_ERROR_SYMM_KEY_BUFFER_TOO_SMALL As HResult = &HC00E0061
        Public Shared ReadOnly MQ_ERROR_SIGNATURE_BUFFER_TOO_SMALL As HResult = &HC00E0062
        Public Shared ReadOnly MQ_ERROR_PROV_NAME_BUFFER_TOO_SMALL As HResult = &HC00E0063
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_OPERATION As HResult = &HC00E0064
        Public Shared ReadOnly MQ_ERROR_WRITE_NOT_ALLOWED As HResult = &HC00E0065
        Public Shared ReadOnly MQ_ERROR_WKS_CANT_SERVE_CLIENT As HResult = &HC00E0066
        Public Shared ReadOnly MQ_ERROR_DEPEND_WKS_LICENSE_OVERFLOW As HResult = &HC00E0067
        Public Shared ReadOnly MQ_CORRUPTED_QUEUE_WAS_DELETED As HResult = &HC00E0068
        Public Shared ReadOnly MQ_ERROR_REMOTE_MACHINE_NOT_AVAILABLE As HResult = &HC00E0069
        Public Shared ReadOnly MQ_ERROR_UNSUPPORTED_OPERATION As HResult = &HC00E006A
        Public Shared ReadOnly MQ_ERROR_ENCRYPTION_PROVIDER_NOT_SUPPORTED As HResult = &HC00E006B
        Public Shared ReadOnly MQ_ERROR_CANNOT_SET_CRYPTO_SEC_DESCR As HResult = &HC00E006C
        Public Shared ReadOnly MQ_ERROR_CERTIFICATE_NOT_PROVIDED As HResult = &HC00E006D
        Public Shared ReadOnly MQ_ERROR_Q_DNS_PROPERTY_NOT_SUPPORTED As HResult = &HC00E006E
        Public Shared ReadOnly MQ_ERROR_CANNOT_CREATE_CERT_STORE As HResult = &HC00E006F
        Public Shared ReadOnly MQ_ERROR_CANNOT_OPEN_CERT_STORE As HResult = &HC00E0070
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_ENTERPRISE_OPERATION As HResult = &HC00E0071
        Public Shared ReadOnly MQ_ERROR_CANNOT_GRANT_ADD_GUID As HResult = &HC00E0072
        Public Shared ReadOnly MQ_ERROR_CANNOT_LOAD_MSMQOCM As HResult = &HC00E0073
        Public Shared ReadOnly MQ_ERROR_NO_ENTRY_POINT_MSMQOCM As HResult = &HC00E0074
        Public Shared ReadOnly MQ_ERROR_NO_MSMQ_SERVERS_ON_DC As HResult = &HC00E0075
        Public Shared ReadOnly MQ_ERROR_CANNOT_JOIN_DOMAIN As HResult = &HC00E0076
        Public Shared ReadOnly MQ_ERROR_CANNOT_CREATE_ON_GC As HResult = &HC00E0077
        Public Shared ReadOnly MQ_ERROR_GUID_NOT_MATCHING As HResult = &HC00E0078
        Public Shared ReadOnly MQ_ERROR_PUBLIC_KEY_NOT_FOUND As HResult = &HC00E0079
        Public Shared ReadOnly MQ_ERROR_PUBLIC_KEY_DOES_NOT_EXIST As HResult = &HC00E007A
        Public Shared ReadOnly MQ_ERROR_ILLEGAL_MQPRIVATEPROPS As HResult = &HC00E007B
        Public Shared ReadOnly MQ_ERROR_NO_GC_IN_DOMAIN As HResult = &HC00E007C
        Public Shared ReadOnly MQ_ERROR_NO_MSMQ_SERVERS_ON_GC As HResult = &HC00E007D
        Public Shared ReadOnly MQ_ERROR_CANNOT_GET_DN As HResult = &HC00E007E
        Public Shared ReadOnly MQ_ERROR_CANNOT_HASH_DATA_EX As HResult = &HC00E007F
        Public Shared ReadOnly MQ_ERROR_CANNOT_SIGN_DATA_EX As HResult = &HC00E0080
        Public Shared ReadOnly MQ_ERROR_CANNOT_CREATE_HASH_EX As HResult = &HC00E0081
        Public Shared ReadOnly MQ_ERROR_FAIL_VERIFY_SIGNATURE_EX As HResult = &HC00E0082
        Public Shared ReadOnly MQ_ERROR_CANNOT_DELETE_PSC_OBJECTS As HResult = &HC00E0083
        Public Shared ReadOnly MQ_ERROR_NO_MQUSER_OU As HResult = &HC00E0084
        Public Shared ReadOnly MQ_ERROR_CANNOT_LOAD_MQAD As HResult = &HC00E0085
        Public Shared ReadOnly MQ_ERROR_CANNOT_LOAD_MQDSSRV As HResult = &HC00E0086
        Public Shared ReadOnly MQ_ERROR_PROPERTIES_CONFLICT As HResult = &HC00E0087
        Public Shared ReadOnly MQ_ERROR_MESSAGE_NOT_FOUND As HResult = &HC00E0088
        Public Shared ReadOnly MQ_ERROR_CANT_RESOLVE_SITES As HResult = &HC00E0089
        Public Shared ReadOnly MQ_ERROR_NOT_SUPPORTED_BY_DEPENDENT_CLIENTS As HResult = &HC00E008A
        Public Shared ReadOnly MQ_ERROR_OPERATION_NOT_SUPPORTED_BY_REMOTE_COMPUTER As HResult = &HC00E008B
        Public Shared ReadOnly MQ_ERROR_NOT_A_CORRECT_OBJECT_CLASS As HResult = &HC00E008C
        Public Shared ReadOnly MQ_ERROR_MULTI_SORT_KEYS As HResult = &HC00E008D
        Public Shared ReadOnly MQ_ERROR_GC_NEEDED As HResult = &HC00E008E
        Public Shared ReadOnly MQ_ERROR_DS_BIND_ROOT_FOREST As HResult = &HC00E008F
        Public Shared ReadOnly MQ_ERROR_DS_LOCAL_USER As HResult = &HC00E0090
        Public Shared ReadOnly MQ_ERROR_Q_ADS_PROPERTY_NOT_SUPPORTED As HResult = &HC00E0091
        Public Shared ReadOnly MQ_ERROR_BAD_XML_FORMAT As HResult = &HC00E0092
        Public Shared ReadOnly MQ_ERROR_UNSUPPORTED_CLASS As HResult = &HC00E0093
        Public Shared ReadOnly MQ_ERROR_UNINITIALIZED_OBJECT As HResult = &HC00E0094
        Public Shared ReadOnly MQ_ERROR_CANNOT_CREATE_PSC_OBJECTS As HResult = &HC00E0095
        Public Shared ReadOnly MQ_ERROR_CANNOT_UPDATE_PSC_OBJECTS As HResult = &HC00E0096
        Public Shared ReadOnly MQ_ERROR_RESOLVE_ADDRESS As HResult = &HC00E0099
        Public Shared ReadOnly MQ_ERROR_TOO_MANY_PROPERTIES As HResult = &HC00E009A
        Public Shared ReadOnly MQ_ERROR_MESSAGE_NOT_AUTHENTICATED As HResult = &HC00E009B
        Public Shared ReadOnly MQ_ERROR_MESSAGE_LOCKED_UNDER_TRANSACTION As HResult = &HC00E009C
    End Class

End Namespace